﻿namespace 线性表链表
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello, World!");
            LinkedList linkedList = new LinkedList();
            linkedList.Init();
            linkedList.Print();

            Console.WriteLine("Header Linked");
            HeadLinkedList headerLinkedList = new HeadLinkedList();
            headerLinkedList.Init();
            headerLinkedList.Print();

            headerLinkedList.Insert(2, new Node { Value =2025 });
            headerLinkedList.Print();
        }
    }
}
